Tripzzy\Core\Helpers\TripDates B

Total Complexity 98
Dependencies 7
Dependents 1
Total lines 826
Lines of code 469
Logical lines of code 332
Comment lines 248
Methods 20
Properties 12

Methods 20

Method Rating Maintainability Complexity Lines of code
get_recurring_trip_dates()
C
32 21 107
set_recurring_departure_months()
A
40 14 54
get_fixed_trip_dates()
A
40 10 60
__construct()
S
49 6 31
get_data()
S
53 6 26
compare()
S
58 6 16
sort_desc()
S
54 4 23
sort_multi_dim_desc()
S
54 4 23
delete_transient()
S
62 4 11
get_dates()
S
56 3 19
set_data()
S
56 3 18
set_fixed_departure_months()
S
58 3 15
sort_asc()
S
61 2 14
sort_multi_dim_asc()
S
60 2 14
set_departure_months()
S
67 2 8
set_trip_dates()
S
67 2 8
departure_months()
S
69 2 7
transient_key()
S
69 2 7
render()
S
74 1 4
format()
S
75 1 4